package design.Day04;

/**
* @description: 遥控器
* @author: wangjun
* @create: 2022-01-21
*/
public class RemoteControl {

    Command command;

    public void setCommand(Command command) {
        this.command = command;
    }

    public void execute(){
        command.execute();
    }
}
